import { Label } from 'cc';
import { _decorator, Component, Node } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('SpineAnimItem')
export class SpineAnimItem extends Component {
    @property(Label)
    lblText: Label = null;

    setData(data: { text: string }) {
        this.lblText.string = data.text;
    }
}

